An Alternative to Arithmetic Coding with Local Decodability
نویسندگان
چکیده
We describe a simple, but powerful local encoding technique, implying two surprising results: 1. We show how to represent a vector of n values from Σ using dn log2 Σe bits, such that reading or writing any entry takes O(1) time. This demonstrates, for instance, an “equivalence” between decimal and binary computers, and has been a central toy problem in the field of succinct data structures. Previous solutions required space of n log2 Σ + n/ lg O(1) n bits for constant access. 2. Given a stream of n bits arriving online (for any n, not known in advance), we can output a prefix-free encoding that uses n+log2 n+O(lg lgn) bits. The encoding and decoding algorithms only require O(lg n) bits of memory, and run in constant time per word. This result is interesting in cryptographic applications, as prefix-free codes are the simplest counter-measure to extensions attacks on hash functions, message authentication codes and pseudorandom functions. Our result refutes a conjecture of [Maurer, Sjödin 2005] on the hardness of online prefix-free encodings.
منابع مشابه
New Directions in Coding Theory: Capacity and Limitations
Error-correcting codes were originally developed in the context of reliable delivery of data over a noisy communication channel and continue to be widely used in communication and storage systems. Over time, errorcorrecting codes have also been shown to have several exciting connections to areas in theoretical computer science. Recently, there have been several advances including new constructi...
متن کاملENTROPY OF GEODESIC FLOWS ON SUBSPACES OF HECKE SURFACE WITH ARITHMETIC CODE
There are dierent ways to code the geodesic flows on surfaces with negative curvature. Such code spaces give a useful tool to verify the dynamical properties of geodesic flows. Here we consider special subspaces of geodesic flows on Hecke surface whose arithmetic codings varies on a set with innite alphabet. Then we will compare the topological complexity of them by computing their topological ...
متن کاملInformation theory—homework exercises
1 Entropy, source coding Problem 1 (Alternative definition of unique decodability) An f : X → Y∗ code is called uniquely decodable if for any messages u = u1 · · ·uk and v = v1 · · · vk (where u1, vi, . . . , uk, vk ∈ X ) with f(u1)f(u2) · · · f(uk) = f(v1)f(v2) · · · f(vk), we have ui = vi for all i. That is, as opposed to the definition given in class, we require that the codes of any pair of...
متن کاملAsymptotically MDS Array BP-XOR Codes
Belief propagation or message passing on binary erasure channels (BEC) is a low complexity decoding algorithm that allows the recovery of message symbols based on bipartite graph prunning process. Recently, array XOR codes have attracted attention for storage systems due to their burst error recovery performance and easy arithmetic based on Exclusive OR (XOR)-only logic operations. Array BP-XOR...
متن کاملArithmetic Coding for Data Compression
Arithmetic coding provides an e ective mechanism for removing redundancy in the encoding of data. We show how arithmetic coding works and describe an e cient implementation that uses table lookup as a fast alternative to arithmetic operations. The reduced-precision arithmetic has a provably negligible e ect on the amount of compression achieved. We can speed up the implementation further by use...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2010